package com.tmanager.persistence.tx;

import com.google.inject.ImplementedBy;

/**
 * @author Paul A. Shmarev
 */
@ImplementedBy(EntityManagerProvider.class)
public interface UserTransaction {

    void begin();

    void commit();

    void rollback();

    void setRollbackOnly();

    boolean isRollbackOnly();

    boolean isActive();

}
